﻿﻿using System;
using System.Collections.Generic;
using System.Text;
namespace WebApplication1.DDD.Models.Entity.ConnectionString_SQLSERVER
{
    public class Tp_jgg_log:NFinal.Struct
    {
		public System.Int32? id {get;set;}
		public System.Int32? activity_id {get;set;}
		public System.Int32? user_id {get;set;}
		public System.DateTime? log_time {get;set;}
		public System.Int32? time_id {get;set;}
		public System.Int32? status {get;set;}
		public System.String part1 {get;set;}
		public System.String part2 {get;set;}
		public System.Int32? part3 {get;set;}
		#region 写Json字符串
		public override void WriteJson(System.IO.TextWriter tw)
		{
			tw.Write("{");
					tw.Write("\"id\":");
					tw.Write(id==null?"null" : id.ToString());
					tw.Write(",");
					tw.Write("\"activity_id\":");
					tw.Write(activity_id==null?"null" : activity_id.ToString());
					tw.Write(",");
					tw.Write("\"user_id\":");
					tw.Write(user_id==null?"null" : user_id.ToString());
					tw.Write(",");
					tw.Write("\"log_time\":");
					tw.Write("\"");
					tw.Write(log_time==null?"null":log_time.ToString());
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"time_id\":");
					tw.Write(time_id==null?"null" : time_id.ToString());
					tw.Write(",");
					tw.Write("\"status\":");
					tw.Write(status==null?"null" : status.ToString());
					tw.Write(",");
					tw.Write("\"part1\":");
					tw.Write("\"");
					tw.Write(part1==null?"null":part1);
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"part2\":");
					tw.Write("\"");
					tw.Write(part2==null?"null":part2);
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"part3\":");
					tw.Write(part3==null?"null" : part3.ToString());
			tw.Write("}");
		}
		#endregion
    }
}
